﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public static class KhachHangBUS
    {
        public static List<KHACHHANG> layDSKH()
        {
            return KhachHangDAO.layDSKH();
        }

        public static KHACHHANG layKH(int maKH)
        {
            return KhachHangDAO.layKH(maKH);
        }

        public static void ThemKhachHang(KHACHHANG kh)
        {
            KhachHangDAO.ThemKhachHang(kh);
        }

        public static void CapNhatKhachHang(KHACHHANG kh)
        {
            KhachHangDAO.CapNhatKhachHang(kh);
        }

        public static bool capNhatDiemTichLuy(KHACHHANG kh)
        {
            return KhachHangDAO.capNhatDiemTichLuy(kh);
        }
    }
}
